package org.zfes.snowier.cloud.zbss.asf.biz.dao;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import org.zfes.snowier.common.dao.mybatis.BaseMapper;
import org.zfes.snowier.common.dao.params.ParamMap;
import org.zfes.snowier.cloud.zbss.asf.biz.model.UserFaceInfo;
import org.zfes.snowier.core.data.Record;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface UserFaceInfoMapper extends BaseMapper<UserFaceInfo>{
	
	Long selectListCount(ParamMap params);
	
	List<Record> selectMapListPage(ParamMap params);
	
	List<UserFaceInfo> selectModelListPage(ParamMap params);
	
	
	UserFaceInfo selectByPhone(java.lang.String phone);
	
	UserFaceInfo selectByEmail(java.lang.String email);
	
	
	Long selectIdByPhone(java.lang.String phone);
	
	Long selectIdByEmail(java.lang.String email);
	
	int updateStatus(@Param("id")Long id, @Param("status")Byte status);
}
